package com.lxmes.sales.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 供方注册及审核对象 zc_supplier_registration
 *
 * @author lx
 * @date 2023-06-21
 */
@ApiModel(value = "ZcSupplierRegistration", description = "供方注册及审核对象")
public class ZcSupplierRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String companyCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String companyName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phoneNumber;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty("联系人")
    private String contactPerson;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 供应商代码 */
    @Excel(name = "供应商代码")
    @ApiModelProperty("供应商代码")
    private String supplierCode;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty("详细地址")
    private String address;

    /** 供应商电话 */
    @Excel(name = "供应商电话")
    @ApiModelProperty("供应商电话")
    private String supplierPhone;

    /** 供应商税号 */
    @Excel(name = "供应商税号")
    @ApiModelProperty("供应商税号")
    private String supplierTaxId;

    /** 供应商开户行 */
    @Excel(name = "供应商开户行")
    @ApiModelProperty("供应商开户行")
    private String supplierBank;

    /** 供应商账号 */
    @Excel(name = "供应商账号")
    @ApiModelProperty("供应商账号")
    private String supplierAccount;

    /** 注册资本（万元） */
    @Excel(name = "注册资本", readConverterExp = "万=元")
    @ApiModelProperty("注册资本（万元）")
    private BigDecimal registeredCapital;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("注册日期")
    private Date registrationDate;

    /** 营业执照 */
    @Excel(name = "营业执照")
    @ApiModelProperty("营业执照")
    private String businessLicense;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("注册时间")
    private Date registrationTime;

    /** 注册人 */
    @Excel(name = "注册人")
    @ApiModelProperty("注册人")
    private String registrant;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("审核时间")
    private Date auditTime;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty("审核人")
    private String auditor;


    /** 审核人 */
//    @Excel(name = "审核状态")
    @ApiModelProperty("审核状态")
    private String auditState;

    /** 部门数据隔离代码 */
    private Long deptId;

    private String isSupplier;

    public String getIsSupplier() {
        return isSupplier;
    }

    public void setIsSupplier(String isSupplier) {
        this.isSupplier = isSupplier;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public String getAuditState() {
        return auditState;
    }

    public void setAuditState(String auditState) {
        this.auditState = auditState;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompanyCode(String companyCode)
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode()
    {
        return companyCode;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setSupplierCode(String supplierCode)
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode()
    {
        return supplierCode;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setSupplierPhone(String supplierPhone)
    {
        this.supplierPhone = supplierPhone;
    }

    public String getSupplierPhone()
    {
        return supplierPhone;
    }
    public void setSupplierTaxId(String supplierTaxId)
    {
        this.supplierTaxId = supplierTaxId;
    }

    public String getSupplierTaxId()
    {
        return supplierTaxId;
    }
    public void setSupplierBank(String supplierBank)
    {
        this.supplierBank = supplierBank;
    }

    public String getSupplierBank()
    {
        return supplierBank;
    }
    public void setSupplierAccount(String supplierAccount)
    {
        this.supplierAccount = supplierAccount;
    }

    public String getSupplierAccount()
    {
        return supplierAccount;
    }
    public void setRegisteredCapital(BigDecimal registeredCapital)
    {
        this.registeredCapital = registeredCapital;
    }

    public BigDecimal getRegisteredCapital()
    {
        return registeredCapital;
    }
    public void setRegistrationDate(Date registrationDate)
    {
        this.registrationDate = registrationDate;
    }

    public Date getRegistrationDate()
    {
        return registrationDate;
    }
    public void setBusinessLicense(String businessLicense)
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense()
    {
        return businessLicense;
    }
    public void setRegistrationTime(Date registrationTime)
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime()
    {
        return registrationTime;
    }
    public void setRegistrant(String registrant)
    {
        this.registrant = registrant;
    }

    public String getRegistrant()
    {
        return registrant;
    }
    public void setAuditTime(Date auditTime)
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime()
    {
        return auditTime;
    }
    public void setAuditor(String auditor)
    {
        this.auditor = auditor;
    }

    public String getAuditor()
    {
        return auditor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyCode", getCompanyCode())
            .append("companyName", getCompanyName())
            .append("phoneNumber", getPhoneNumber())
            .append("contactPerson", getContactPerson())
            .append("supplierName", getSupplierName())
            .append("supplierCode", getSupplierCode())
            .append("address", getAddress())
            .append("supplierPhone", getSupplierPhone())
            .append("supplierTaxId", getSupplierTaxId())
            .append("supplierBank", getSupplierBank())
            .append("supplierAccount", getSupplierAccount())
            .append("registeredCapital", getRegisteredCapital())
            .append("registrationDate", getRegistrationDate())
            .append("businessLicense", getBusinessLicense())
            .append("registrationTime", getRegistrationTime())
            .append("registrant", getRegistrant())
            .append("auditTime", getAuditTime())
            .append("auditor", getAuditor())
            .append("remark", getRemark())
            .toString();
    }
}
